﻿package  
{
	import Box2D.Common.Math.b2Vec2;
	
	/**
	* ...
	* @author DefaultUser (Tools -> Custom Arguments...)
	*/
	public class camera
	{
		private var position:b2Vec2;

		public function camera() 
		{
			position = new b2Vec2(0, 0);
		}
		
		public function moveCamera(xT:Number, yT:Number):void
		{
			position.x += xT;
			position.y += yT;
			
			
			World.cameraPosition = position;
		}
		
		public function getCameraPos():b2Vec2
		{
			return position;
		}
		
	}
	
}